package cn.itcast.message.xt;

import lombok.Data;
import lombok.ToString;

@Data
@ToString(callSuper = true)
public class IoTLoginRequestMessage extends IoTMessage{

    private String app_key;
    private String app_secret;
    private String dev_id;
    private int dev_type;
    private String version_name;

    public IoTLoginRequestMessage(String app_key, String app_secret, String dev_id, int dev_type, String version_name) {
        this.app_key = app_key;
        this.app_secret = app_secret;
        this.dev_id = dev_id;
        this.dev_type = dev_type;
        this.version_name = version_name;
    }

    public IoTLoginRequestMessage() {
    }

    @Override
    public int getMessageType() {
        return IoTLoginRequestMessage;
    }
}
